package com.utility.project.annotation;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Limit {

    //请求方法名
    String requestMethod();

    //限流次数
    int count() default 70;

    //限流允许时间
    long allowTime() default 60*1000;

}
